package br.edu.utfpr.md.beans;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import br.edu.utfpr.md.interfaces.ICarrinho;
import br.edu.utfpr.md.interfaces.ICarrinhoFactory;

public class CarrinhoFactoryBean extends UnicastRemoteObject implements
		ICarrinhoFactory {
	private static final long serialVersionUID = 1L;

	public CarrinhoFactoryBean() throws RemoteException {
		super();
	}

	@Override
	public ICarrinho create() throws RemoteException {
		return new CarrinhoBean();
	}
}
